package com.jingtai.core.entity.merchants;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;

import java.math.BigDecimal;

import java.util.Date;

/**
 * 商户表
 * 
 * @author sunlaiqian
 * @date 2020-12-02 15:08:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_merchants_info")
@ApiModel(value = "商户表", description = "商户表")
public class MerchantsInfo  extends BaseEntity implements Serializable {




	/**
	 * 商户类型 1:平台自营2：商户入驻
	 */
	@CApiModelProperty(value = "商户类型 1:平台自营2：商户入驻",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer groupType;

	/**
	 * 关联ID 平台ID,用户ID
	 */
	@CApiModelProperty(value = "关联ID 平台ID,用户ID",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Long groupId;

	/**
	 * 头像
	 */
	@CApiModelProperty(value = "头像",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String merchantsHead;

	/**
	 * 名称
	 */
	@CApiModelProperty(value = "名称",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String merchantsName;

	/**
	 * 负责人
	 */
	@CApiModelProperty(value = "负责人",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String responsibleName;

	/**
	 * 联系电话
	 */
	@CApiModelProperty(value = "联系电话",required = true,cNotEmpty = true,cPhone = true,groups = {Create.class,Update.class})
	private String merchantsPhone;

	/**
	 * 电子邮箱
	 */
	@CApiModelProperty(value = "电子邮箱",required = true,cNotEmpty = true,cEmail = true,groups = {Create.class,Update.class})
	private String email;

	/**
	 * 地址
	 */
	@CApiModelProperty(value = "地址",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String address;

	/**
	 * 营业执照
	 */
	@CApiModelProperty(value = "营业执照",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String license;

	/**
	 * 余额
	 */
	@CApiModelProperty(value = "余额",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private BigDecimal balance;

	/**
	 * 店铺详情介绍
	 */
	@CApiModelProperty(value = "店铺详情介绍",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String detail;

	/**
	 * 启用状态 0：已启用1：未启用
	 */
	@CApiModelProperty(value = "启用状态 0：已启用1：未启用",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer enableState;

}
